package com.example.chasshelper.utils;

import okhttp3.OkHttpClient;

public class OkHttpUtils {
    private static OkHttpClient mHttpClient;

    public static OkHttpClient getClient() {
        if (mHttpClient == null) {// 创建okHttpClient对象
            mHttpClient = new OkHttpClient();
        }
        return mHttpClient;
    }

    //服务器ip地址
    public static String getUrl() {
        //热点
        return "http://192.168.32.138:8080";

        //return "http://121.248.214.176:8080";

    }
}
